package ReviewDAO;

import java.util.List;

import shop.ibatis.BoardSqlMapper;


public class ReviewDaoImpl implements ReviewDao{
	@Override
	public List list() {
		return BoardSqlMapper.Reviewlist();
	}
	@Override
	public void insert(ReviewVO reviewVO) {
		BoardSqlMapper.insert(reviewVO);
	}
	@Override
	public ReviewVO findBySeq(ReviewVO vo) {
		return BoardSqlMapper.findBySeq(vo);
	}
	@Override
	public void updateBySeq(ReviewVO vo) {
		BoardSqlMapper.updateBySeq(vo);
	}
	@Override
	public void deleteReview2(ReviewVO vo) {
		BoardSqlMapper.deleteReview2(vo);
	}
	@Override
	public void deleteReview(ReviewVO vo) {
		BoardSqlMapper.deleteReview(vo);
	}
	@Override
	public void ReviewComment(ReviewVO vo) {
		BoardSqlMapper.reviewComment(vo);
	}
	@Override
	public List findByComment(int seq) {
		
		return BoardSqlMapper.findByComment(seq);
	}
	
}